home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.4 Applications 1997 August
/
SGI IRIX 6.4 Applications 1997 August.iso
/
dist
/
mmailp.idb
/
usr
/
lib
/
Zmail
/
bin
/
getfilename.z
/
getfilename
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1997-01-22
|
285 b
|
17 lines
#!/bin/csh -fb
# (The "-fb" might need to be changed to "-f" on some systems)
#
echo -n "Enter the name of a file in '$1' format: "
set fnam=$<
if ("" == "$fnam") then
echo Aborted
exit -1
endif
if (! -r $fnam) then
echo No such file
exit -1
endif
cp $fnam $2
exit 0